var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate'); 

var schema = new mongoose.Schema({
    type: String,
    product:String,
    price:String,
    place:String,
    author:String
});
schema.plugin(mongoosePaginate);

module.exports =  mongoose.model('Product',  schema);